<template>
    <div class="addbtn_box" @click="goAdd">Add</div>
</template>

<script>
export default {
    name : "AddBtn",
    methods : {
        goAdd(){
            this.$router.push('/writePage')
        }
    }
}
</script>

<style>
.addbtn_box{
    height: 3em;
    width: 5em;
    background-color: #065279;
    border-radius: 0.5em;
    position: fixed;
    bottom: 3em;
    right: 3em;
    color: white;
    text-align: center;
    line-height: 3em;
    cursor: pointer;
}

</style>